import request from '@/utils/request'

export const facilityMsgList = () => { //设施信息
  return request.request({
    url: '/project-quality/api/cockpit/facility',
    method: 'get',
  })
}
export const personMsgList = () => { //人员动态
  return request.request({
    url: '/project-quality/api/cockpit/person',
    method: 'get',
  })
}
export const personMsgdynamic = () => { //设备设施生产
  return request.request({
    url: '/project-quality/api/cockpit/dynamic',
    method: 'get',
  })
}


export const homeProjectDynamics = (data) => { //通知公告
  return request.request({
    url: '/project-management/api/project/notice/homeProjectDynamics',
    method: 'post',
    data
  })
}

export const cockpitLeftTop = () => { //驾驶舱-装备管理指标
  return request.request({
    url: '/project-quality/api/cockpit/kpi',
    method: 'get',
  })
}
